package ooday02.animal;

public class Dog extends Animal implements Swin{
    Dog(int age,String name,String color){
        super(age,name,color);

    }
    @Override
    void eat(){
        System.out.println("名字:"+name+"岁数:"+age+"颜色"+color+"小狗吃狗粮啃骨头");
        //return 0;
    }
    void lookHome(){
        System.out.println("名字:"+name+"岁数:"+age+"颜色"+color+"看家中。。。。");
    }
    public void swim(){

        System.out.println("名字:"+name+"岁数:"+age+"颜色"+color+"狗爬式游泳");
    }
}
